import $axios from '@/utils/axios'

export default {
  //登录
  login(params?: object): Promise<CommonObjectType<string>> {
    return $axios.post('dm/api/login/pwdLogin', params)
  },
  //登出
  logout(params?: object): Promise<CommonObjectType<string>> {
    return $axios.post('dm/api/sys/login/doLogout', params)
  },
  //修改密码
  editPwd(params?: object): Promise<CommonObjectType<string>> {
    return $axios.put('dm/api/login/editPwd', params)
  },



  
}
